<template>
    <div>
        <h1>入党申请公示</h1>
        <ul>
            <li v-for="stu in appliers">{{stu.name}}</li>
        </ul>
    </div>
</template>

<script>
import{ref,computed} form"vue"
export default{
    name:'publicity',
    components:{

    },
    setup(){
        const students=[
            {name:"张三",isAPPly:true,is18:true},
            {name:"李四",isAPPly:true,is18:true},
            {name:"王五",isAPPly:true,is18:true},
            {name:"钱六",isAPPly:true,is18:true},
            {name:"张三5",isAPPly:true,is18:true},
            {name:"张三6",isAPPly:true,is18:true},
            {name:"张三7",isAPPly:true,is18:true},
            {name:"张三8",isAPPly:true,is18:true},
            {name:"张三9",isAPPly:true,is18:true},
            {name:"张三10",isAPPly:true,is18:true},
        ]
        const revMsg = () =>{
        console.log("触发方法")
        return nsg.value.split("").reverse().join("")
        }
        const revMsgPlus = computed() => {
        console.log("计算属性触发")
        return nsg.value.split("").reverse().join("")
        }

        return{
            msg,
            revMsg,
            revMsgPlus
        }
    }
}
</script>
<style></style>